var o = new Object();

var now = new Date();
var new_years_eve = new Date(2000, 11, 31);

var circle = {x: 0, y: 0, radius: 2};
var homer = {name: "Homer Simpson", age: 34, married: true, occupation: "plant operator", email: "homer@simpsons.com"};

//------//
var book = new Object();
book.title = "JavaScript: The Definitive Guide";

book.chapter1 = new Object();
book.chapter1.title = "Introduction to JavaScript";
book.chapter1.pages = 19;

book.chapter2 = {title: "Lexical Structure", pages: 6};

alert("Outline: " + book.title + "\n\t" +
	"Chapter1 " + book.chapter1.title + "\n\t" +
	"Chapter2 " + book.chapter2.title);

//------//
function DisplayPropertyNames(obj) {
	var names = "";
	for(var name in obj) 
		names += name + "\n";
	
	alert(names);
}

//------//
delete book.chapter2;
